using System.Runtime.Serialization;

namespace FU.Capstones.IMS.Services.Common.DataContracts
{
    [DataContract(Namespace = InventoryConstants.ServiceNamespace)]
    public class Material
    {
        [DataMember]
        public int MaterialID { get; set; }

        [DataMember]
        public string MaterialCode { get; set; }

        [DataMember]
        public string MaterialName { get; set; }

        [DataMember]
        public int WarehouseId { get; set; }

        [DataMember]
        public Warehouse Warehouse { get; set; }

        [DataMember]
        public int SupplierId { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public long Quantity { get; set; }

        [DataMember]
        public double PricePerUnit { get; set; }

        [DataMember]
        public bool IsDelete { get; set; }

        [DataMember]
        public bool IsSelected { get; set; }
    }
}